<#import "/spring.ftl" as spring />

	<div id="hordetoparea_content" > 
		<#if siteDetail?has_content>
			<TABLE width="100%">
				<TR>
					<TD colspan="2">
					<#if topSection?has_content>
						${topSection.longDesc?default("")}
					<#else>
						<TABLE>
							<TR><TD>
								<a target="_blank" href="http://taobaoafp.allyes.com/main/adfclick?user=taobao|homepage|Firstscreen_lunbo_banner2&db=taobaoafp&log=on&ip=116.77.212.193&bid=1546&cid=134439&sid=1952&kv=&exp1=-900322222&exp2=7074422515&cache=0&url=http://ju.atpanel.com/?url=http://www.taobao.com/theme/mall/dzm.php?ad_id=&am_id=&cm_id=1400069740a40c7f0e28&pm_id=15000413432d50afa3bb">
								<img width="360" height="190" border="0" alt="" src="IMAGES/AD/AD_BANNER_DEFAULT.JPG"/>
								<img width="360" height="190" border="0" alt="" src="IMAGES/AD/AD_BANNER_DEFAULT.JPG"/>
								<img width="360" height="190" border="0" alt="" src="IMAGES/AD/AD_BANNER_DEFAULT.JPG"/>
								</a><font color="red">管理员自定义区域</font>			
							</TD></TR>
						</TABLE>
					</#if>
					</TD>
				</TR>
			</TABLE>

			<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
	      <tr>
					<#assign curr_site_gid="">
					<th scope="row">
						<#if siteCategory?has_content>
							<#assign curr_site_gid=siteCategory.categoryId>
							<#if primarySiteCategoryTrail?has_content>
			          	当前位置&gt;&gt;
									<#list primarySiteCategoryTrail as g>
										<A href='<@spring.url "/listcategory2horde.jsp?sgid=${g.categoryId}"/>'  >${g.name?default("No-Name")}</A>&gt;&gt;
									</#list>
							</#if>							
						</#if><b>小区-${siteDetail.name?default("No-Horde-Name")}:</b><hr>
					</th>
					<th width="1%" nowrap="true" align="right"><#if userSession?has_content && userSession.logout==false && userSession.homeHordeSysId == siteDetail.sysId><#else><A href='<@spring.url "/setmyhomehorde.jsp?ssid=${siteDetail.sysId}"/>'>设为我家小区</A></#if>&nbsp;<hr></th>
	      </tr>
			</TABLE>
	
		</#if>
	</div>
				     
	<div id="hordeleftarea_content" > 		
		<#if siteDetail?has_content>
			<TABLE width="100%">
				<TR>
					<TD colspan="4" valign="top">
						<#if leftSection?has_content>
							${leftSection.longDesc?default("")}
						<#else>
							<TABLE>
								<TR><TD>
									<a target="_blank" href="http://taobaoafp.allyes.com/main/adfclick?user=taobao|homepage|Firstscreen_lunbo_banner2&db=taobaoafp&log=on&ip=116.77.212.193&bid=1546&cid=134439&sid=1952&kv=&exp1=-900322222&exp2=7074422515&cache=0&url=http://ju.atpanel.com/?url=http://www.taobao.com/theme/mall/dzm.php?ad_id=&am_id=&cm_id=1400069740a40c7f0e28&pm_id=15000413432d50afa3bb">
									<img width="260" height="160" border="0" alt="" src="IMAGES/AD/AD_BANNER_DEFAULT.JPG"/>
									</a><font color="red">管理员自定义区域</font>			
								</TD></TR>
							</TABLE>
							<TABLE width="100%">
								<TR>
									<TD colspan="4"><b>便民电话</b>&nbsp;<hr></TD>
								</TR>
								<TR>
									<TD style="font:10px">西丽派出所:30869586</TD>
									<TD style="font:10px">西丽派出所:30869586</TD>
									<TD style="font:10px">西丽派出所:30869586</TD>
								</TR>
								<TR>
									<TD style="font:10px">西丽派出所:30869586</TD>
									<TD style="font:10px">西丽派出所:30869586</TD>
									<TD style="font:10px">西丽派出所:30869586</TD>
								</TR>
								<TR>
									<TD style="font:10px">西丽派出所:30869586</TD>
									<TD style="font:10px">西丽派出所:30869586</TD>
									<TD style="font:10px">西丽派出所:30869586</TD>
								</TR>
								<TR>
									<TD style="font:10px">西丽派出所:30869586</TD>
									<TD style="font:10px">西丽派出所:30869586</TD>
									<TD style="font:10px">西丽派出所:30869586</TD>
								</TR>
								<TR>
									<TD colspan="4"><hr><b>公共交通</b><hr></TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><b>西丽劳力市场</b></TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><A href="">43</A>起点站-站1-站2-站1-站2-站1-站2-终点站</TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><A href="">43</A>起点站-站1-站2-站1-站2-站1-站2-终点站</TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><A href="">43</A>起点站-站1-站2-站1-站2-站1-站2-终点站</TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><A href="">43</A>起点站-站1-站2-站1-站2-站1-站2-终点站</TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><b>沙河市场</b></TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><A href="">43</A>起点站-站1-站2-站1-站2-站1-站2-终点站</TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><A href="">43</A>起点站-站1-站2-站1-站2-站1-站2-终点站</TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><A href="">43</A>起点站-站1-站2-站1-站2-站1-站2-终点站</TD>
								</TR>
								<TR>
									<TD style="font:10px" colspan="4"><A href="">43</A>起点站-站1-站2-站1-站2-站1-站2-终点站</TD>
								</TR>
							</TABLE>
						</#if>
					</TD>
				</TR>
				
				<#if user2ManagedHorde?has_content>				
					<TR>
						<TD colspan="4"><hr><b><#if siteDetail?has_content></#if>服务专员</b><hr></TD>
					</TR>
					<TR>
						<TD rowspan="5"><IMG src='<@spring.url "/IMAGES/USER/USER_SMALL_DEFAULT.PNG"/>'></TD>
					</TR>
					
					<TR>
						<TD  colspan="3" style="font:10px">昵称:${user2ManagedHorde.user.name?default("No-NickName")}</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">QQ:15317227</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">MSN:conan8chan@yahoo.com</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">Tel:0755-86150031</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">Tel:0755-86455917</TD>
					</TR>
					<TR>
						<TD  colspan="4" style="font:10px">如果你想在本区发布广告，或者有任何建议，请联系服务专员。</TD>
					</TR>
				<#else>
					<TR>
						<TD colspan="4"><hr><b>系统管理员</b><hr></TD>
					</TR>
					<TR>
						<TD  colspan="4" style="font:10px">请联系系统管理员，申请成为<#if siteDetail?has_content></#if>服务专员。<A href="help.jsp">为什么要申请成为小区服务专员？</A></TD>
					</TR>
					<TR>
						<TD rowspan="5"><IMG src='<@spring.url "/IMAGES/USER/USER_SMALL_DEFAULT.PNG"/>'></TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">QQ:15317227</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">MSN:conan8chan@yahoo.com</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">Tel:0755-86150031</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">Tel:0755-86455917</TD>
					</TR>
				</#if>
				
				<TR>
					<TD colspan="4"><hr><b><#if siteDetail?has_content></#if>管理处联系方式</b><hr></TD>
				</TR>
				<TR>
					<TD  colspan="3" style="font:10px">QQ:15317227</TD>
				</TR>
				<TR>
					<TD  colspan="3" style="font:10px">MSN:conan8chan@yahoo.com</TD>
				</TR>
				<TR>
					<TD  colspan="3" style="font:10px">Tel:0755-86150031</TD>
				</TR>
				<TR>
					<TD  colspan="3" style="font:10px">Tel:0755-86455917</TD>
				</TR>
			</TABLE>
		</#if>		
	</div>					



	<div id="horderecommendarea_content" >
		<#if hordeRecommendStoreProductGroupList?has_content>
			<TABLE width="100%">
					<TR>
						<TD colspan="9"><b>热门商品</b>&nbsp;<A href='<@spring.url "/listhorderecommendstoreproduct.jsp?ssid=${siteDetail.sysId}"/>'  >更多&gt;&gt;&gt;</A><hr></TD>
					</TR>
					<#list hordeRecommendStoreProductGroupList as hordeRecommendStoreProductList>
						<TR>
							<#list hordeRecommendStoreProductList as s2sc>
								<TD align="center"><A href='<@spring.url "/viewproductdetail.jsp?csid=${s2sc.site2Content2.content.sysId}&ssid=${s2sc.site2Content2.site.sysId}"/>' target="_blank"><IMG src='IMAGES/PRODUCT/PRODUCT_SMALL_DEFAULT.JPG'></A>
								<BR><A href='<@spring.url "/viewproductdetail.jsp?csid=${s2sc.site2Content2.content.sysId}&ssid=${s2sc.site2Content2.site.sysId}"/>' target="_blank">${s2sc.site2Content2.content.name?default("No-Name")}<br/>${s2sc.site2Content2.site.name?default("No-Store-Name")}</A></TD>							
							</#list>
						</TR>	
					</#list>
			</TABLE>
		</#if>
	
		<#if hordeRecommendedStoreList?has_content>
			<TABLE width="100%">
				<TR>
					<TD colspan="9"><b><#if siteDetail?has_content></#if>热门店铺</b>&nbsp;<A href='<@spring.url "/listhorderecommendstore.jsp?ssid=${siteDetail.sysId}"/>'  >更多&gt;&gt;&gt;</A><hr></TD>
				</TR>
				<TR>
					<#list hordeRecommendedStoreList as s2s>
					<TD align="center"><A href='<@spring.url "/viewstoredetail.jsp?ssid=${s2s.site2.sysId}"/>' target="_blank"><IMG src='IMAGES/SITE/SITE_SMALL_DEFAULT.JPG'></A>
					<BR><A href='<@spring.url "/viewstoredetail.jsp?ssid=${s2s.site2.sysId}"/>'' target="_blank">${s2s.site2.name?default("No-Name")}</A></TD>
					
					</#list>
				</TR>						
			</TABLE>
		</#if>
	
		<#if hordeRecommendStoreCouponGroupList?has_content>
			<TABLE width="100%">
				<TR>
					<TD colspan="10"><b><#if siteDetail?has_content></#if>热门优惠</b>&nbsp;<A href='<@spring.url "/listhorderecommendstorecoupon.jsp?ssid=${siteDetail.sysId}"/>'  >更多&gt;&gt;&gt;</A><hr></TD>
				</TR>
				<#list hordeRecommendStoreCouponGroupList as hordeRecommendStoreCouponList>
					<TR>
						<#list hordeRecommendStoreCouponList as s2sc>
							<TD ><A href='<@spring.url "/viewstorecoupondetail.jsp?ssid=${s2sc.site2Content2.site.sysId}&csid=${s2sc.site2Content2.content.sysId}&s2csid=${s2sc.site2Content2.sysId}"/>' target="_blank">${s2sc.site2Content2.content.name?default("No-Name")}</A>
						</#list>
					</TR>	
				</#list>
			</TABLE>
		</#if>
	</div>
